package com.useeinfo.oa.modules.security.util;

public class WarnDaysUtils {

    public static int days = 0;

    // 私有构造
    private WarnDaysUtils() {

    }

    private static WarnDaysUtils single = null;

    // 双重检查
    public static WarnDaysUtils getInstance(int value) {
        if (single == null) {
            synchronized (WarnDaysUtils.class) {
                if (single == null) {
                    single = new WarnDaysUtils();
                }
            }
        }
        single.days = value;
        return single;
    }

}
